//
//  OYAlertView.h
//  qpyd
//
//  Created by 掌游网络 on 2017/7/20.
//  Copyright © 2017年 掌游网络. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, OYAlertViewActionType) {
    OYAlertViewActionTypeLeft,
    OYAlertViewActionTypeRight
};

@interface OYAlertView : UIView

- (instancetype)initWithTitle:(NSString *)title message:(NSString *)message leftBtn:(NSString *)leftTitle rightBtn:(NSString *)rightTitle actionBlock:(void(^)(OYAlertViewActionType actionType))actionBlock;

- (void)setLeftButtonTitleColor:(UIColor *)color;
- (void)setRightButtonTitleColor:(UIColor *)color;

- (void)showAlertView;

@end
